package client.comm.baoding.ui

import client.comm.baoding.BaseMiddleActivity
import client.comm.baoding.R
import client.comm.baoding.databinding.ActivityRechargerecordBinding
import client.comm.baoding.ui.vm.RechargeRecordViewModel

class RechargeRecordActivity :
    BaseMiddleActivity<RechargeRecordViewModel, ActivityRechargerecordBinding>() {

    override fun getLayout(): Int {
        return R.layout.activity_rechargerecord
    }

    override fun initView() {
        binding?.apply {
            event = this@RechargeRecordActivity
            vm = viewModel
        }
    }

    override fun initViewModel(): RechargeRecordViewModel = createViewModel()

}